package com.zmn.oms.dubbo.dto.zmn.refund;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName FinalPriceOrderRefundDIO
 * @description: 一口价订单退款
 * @author: wangyanci
 * @create: 2022-04-12 16:59
 * @Version 1.0
 **/
@Data
public class FinalPriceOrderRefundDifferenceDIO implements Serializable {

    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空")
    @ApiModelProperty("订单id")
    private Long orderId;

    /**
     * 工单id
     */
    @NotNull(message = "工单id不能为空")
    @ApiModelProperty("工单id")
    private Long workId;

    /**
     * 退款金额
     */
    @NotNull(message = "退款金额不能为空")
    @ApiModelProperty("退款金额")
    private Integer refundAmount;
}